package hu.mapro.flang.gwt.war.client;

import hu.mapro.flang.gwt.client.ui.exercise.ExerciseEditingPage;
import hu.mapro.flang.gwt.domain.client.AutoBeans.BookComplexEditorMenuItem;
import hu.mapro.flang.gwt.domain.client.AutoBeans.ChapterComplexEditorMenuItem;
import hu.mapro.flang.gwt.domain.client.AutoBeans.ExerciseComplexEditorMenuItem;
import hu.mapro.flang.gwt.domain.client.AutoBeans.PageComplexEditorMenuItem;
import hu.mapro.gwtui.client.app.UserDesktop;
import hu.mapro.gwtui.client.app.impl.DefaultApplication;

import com.google.inject.Inject;
import com.google.inject.Singleton;

@Singleton
public class Application extends DefaultApplication {
	
	@Inject
	public Application(
			Dependencies dependencies,
			UserDesktop userDesktop
	) {
		super(userDesktop);
	}

	public static class Dependencies {
	
		@Inject
		public Dependencies(
				BookComplexEditorMenuItem book,
				ChapterComplexEditorMenuItem chapterUiBuilder,
				PageComplexEditorMenuItem pageUiBuilder,
				ExerciseComplexEditorMenuItem exerciseComplexEditorMenuItem,
				ExerciseEditingPage exerciseEditingPage
		) {}
		
	}
	
}
